Added stationary direction changing