Reverted working histogram