new style for selected save
refactoring save functions