Basic tree gen