add mem_queue inteface