rearranging stats and adding footer