add save and save all feature