Comment: fix edfunc function on home machine!