slight modification of output