working on executing the command and sending the data