works on hand data sets