improved collision avoidance