added -t option to step 2's commandline example