began work on a better collisiondetection