first finished pass of command line exercise