finally started to work on command line parameters