save and load initial version with dirty hacks