checkCollisions is now beautiful