added partner file and header to mem.c