added parsing command line