checkForCollision()