made reservation function call costCalculator