split out skyline check function