got histogram working.