initial work on the view resolver