tweaked output order