commits to memory