Added collision detection. Need to finish response.