changed Position to PositionCalculator