returning range with scalars and adding an entropy measure for labels