working with resolver