collision detection changes