MAJOR - implementing local storage