implemented parser resume