added inital version of label histogram