Change turn to beginTurn and added the endTurn method.