Tree generation added