remove unused `initialPositions` variable