Adding hidden outputs