added a line to initialize var