added wind direction to the other functions