naive labelling function