Added histogram, table and formatting