better if we initialize the out var to the empty string just to be sure we don't generate rubbish