made change to Ratio_calculator