added pw helper