add weather total calc and remove useless framework