Preprocessing system