rtd-specific stuff