started implementing persistent storage