partially finished bi-text parsing.