Added other functions to generate data.