FEMD implemented