Added tree generator