Building the calculator