added flex/bison parsing