finished collision detection II