added fork. finished persistent storage.