gotcha's: fix naming; remove generator in def example