adding retex support