Custom tree gen work