working on adding dist to mrf