Removed unused isSunFound boolean