Using data() to get data sets rather than just reading from namespace