added commandline parser