takes command line params