add local Storage support