allows the labels to be converted to vectors