modify capella to use EBNF