Added more clarity to collision detection.