add success and failure to command response