changed order of output from -i option