updated resolver with viewnames