Started on collision detection.