output = '' in foreach