add memory pool program