what is the definition of pwd