Fix output to match paper