preprocessing each one