use inmemory when saving