handling cmd arguments in a different way