Added pre-processing step haim()