refactored Booking and Theatre border check.