adding functionality for booking