add method pwd