debugged turn()