rough turn logic