Remove trees format and substitute with repeat call