adding objects and vars to tree maker