handled command line arguments