working version of anticollision