refining class