got basic arithmetic working