Clarification on generator usage