Added processViewResult().