modified so that used new view & view resolver.