enhancing the cmd