preprocessing finished