adds def grammar