add memory part