adds an example of generators