first dirty, but working, version of persistent storage