extracted math to Calculations