Add a dataset correctly