separate save and format