program done using command line arguments