lots of updates to memory class