made small change in random weather generator function