better summarising and exporting