use resolver class