put the resolver to our utilities library
clarified comments