Strafe update

For to use the while loop instead of delay.