logging with a name and basic aggregating results