now reads sample data when localstorage is empty