new more dynamic version of RX special functions