fixed collisions: now all collisions recognized