make bdf parsing easier