Collision detection working now.