make the ModTable a local instance, instead of global state