working to improve binarizer