finished the holes dug in getMem()