fixes #6 we now support distinct values from a dataset