changed direction method