making cmd parser