This should probably be a private function (starting with an underscore), and be named more appropriately, e.g. "_fmm_init" or so