Added code for cleaning / formatting the data.