added rixx() function