subroutine view 3