The position of the verb REFINING tells the reader it is a VERB (a gerund) and it has the function of noun.
9.5m questions
12.2m answers