add set sub dealer function