revised histogram