subroutine view 1