split out polygon loader