Adding public version of the calculator