For messing around with the trex code