add method doc