playing with generating trees