read subroutine use init subroutine