adding new tree maker and mapping for char vars