trying out the modified histogram