Collision detection has been added.