added sample data generation capability