custom version for sxr