defined Calculators function