add preProcessing. cleaning code.