mem: more functions