title according to data set, labels for the button also according to data set