this step: checking for collisions