update result printout
updated flags and print outs