Implemented control of available seats with the existing code.