fix error checking; display result at end of step