data generator with trees