first pass at making a generator