Define some variables and function to help format output.