change to night sky logic