added function that can acces all variable from output tree of producer[B