data preprocessing complete