switched version of cmdl parser