Added combineFlat