return cmd results