removed Stub class