tweaking the MGenBase api