working on calculationApi mock