change the direction