added a simple avoidance
needs much tuning