Collision detection is now working