added comments and input file