Added a table legend and some code style spacers