collisionDetection can work now