getting the stateful munchars all worked out