Formatting corrections with final output.