string cmd implemented