added code for weather