local storage definition added