task to clean up the data