Finished pre-processing