Updated RT Code