Brieman cat branch

That is a change I made previously, we do want to use == because we are checking that the references are the same, I will add a comment because this is abnormal