trying to add local storage and replaced collection init