improved efficiency of fetching preflabels
added doc and dist