chenge function locate PSW()