add memory barry