add substitute class