core: persistance. osx: persistance