start preprocessing