Adding wind functions