cont.
cmd arg validation and some other stuff