initial attempt at marking parser