New design for grammar sets