began implementing libmem2