Brieman cat branch

Didn't actually change this function.  Think I may have accidentally part of it and added that part back and github just thinks there is a change.