changed pw_t