selecting subject for histogram