loop to check for snow