Changed Stephanie's collision detection