Combine outputs functionality