refactoring reservations