auto labelling

Thanks a lot.

I'll give a try.

--Xin