finish main function introduced data generate program