added a seed labelling function