add makefirst for grammar