started work on cmd processing