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