MBH: removing Gavin's function file