Some code during the data mining study