command line options implemented