added method call in ebnf