debug + fix summarise