scaffolding for parser