The Code from the calculator