Collision detection logic works!