available seats check method added