before adding generate random tree to setup