using reference resolver to resolve cross reference between models