add local storage methods