simplified grammar module