adjusted turn logic