added basic local storage