added checking for argument.  Added new needed classes.
progress