outputting view 2