some initial work on checking histogram's output