finished Collision detection I