added mem_alloc