sorting out labelling