TFFM framework