enable booking function