added rmf function in simo