theatre booking logic