fixed getNumTurns