implement autosave and ffinnish stocks