added weighted grammar