added sendTurn and takeTurn