added GenerateData class.