collisionDetection part2