inner class implemented in ETParser class