convert notebook to version 3
start of generator discussion
stretching generator interface