working on perpendicular collisions