added better logging for dataset creation.