scanlabels method implemented