Rewrote binarizer