added simple mrmf implementation.