adding back ability to store data offline.