Problem: The sun was not created until the fourth day, yet there was light on the first day (1:3).
Solution: The sun is not the only source of light in the universe. Further, the sun may have existed from the first day, but only appeared or became visible (as the mist cleared) on the fourth day. We see light on a cloudy day, even when we can’t see the sun.