able to print histogram