Worked on collision detection.