better comment for set_labels