added comments, command line options