Porting dell'output with an ad-hoc function