added toggle turn method definition