added gates field
pep8
handling booking tipologies