processing commandline argumemts