updated data set class, added join method