get the basic arithmetic working