added getnumturns