adding some localestorage features