check if arg is set
added arg cases