added isValidBooking