change pw digest to pw
finish chpt8