partly did part 3. defaults work, but input from command line does not work