fdl adding function