wrote docs for functions starting with "W"