1. add memory manager