Version 1 of the calculator