wrote another sampa comparison algorithm