add plus function, along with tests