preparing for collision detection
collision detection