started work on saving system (offline edit)