Changes loop_rate when turning. Adds return statement