mods for CFF calculations