uncommented doCommand