finish the calculator