Broke up getPositions into several files