changes for memory