adding the rlig feature