added simple generation example