this code meant to turn without using delay