collision detection continued