finish the basic arithmetic