properly initialized a variable in mainFox1 example