Got RT API sort of working