I would use ``$output`` directly here