added add operations and implemented them