updated constructor.
added function to create some fake data.