add function pointer for FME switch