add example of making histogram