first pass of cleaning data