refactoring with fl_raw