New class based element-parsing approach