reservations logic