adding code that uses localStorage