Declaring outside is good since there is no need to declare it every time while highlighting. Maybe we could even use 'const' ?