updated routines to display results