Changed the code to be formatted more nicely using a listing for the
code snippet in the background.