outup now comes as array