make report look like the java impl.