some changes to memory