cmd and arg input work (finally)