add rsm support