ff generator vs loop