now avoiding collision when moving backwards