weather logic modify