small refinements in lab02 exercise