preprocessing integration