completed the initial cleaning and validating section