add grammar document