changed state and weather to static