add result and dataset