added mgenerate reference.