changed the program to print arguments