add the method to parse doc