tweaks to integer values and output formatting