add calculation spot in the code