fixed turn method and removed input recursion