added local storage like a boss