added the end turn and switch turn cmds