trex2 dynamic inputs