made it more relx compatible