Cleaned up code before pasting into the final report