added summary of resylts to end of output