better output for named results