working on stateless munchars, and combining stateful and stateless munchars