Calculation Logic Done