pw is a string