Changed order of output