ff_meam partially written. Still needs a lot of adjustments.