revision 4: improved display for results