working histogram speicification