cleaning up hist example