updated global variables and didItSnow object, all passing to main code