query added for booking