updated addition and equality operations to pass const arguments for added safety