add method in doc