use SubClass instead of BaseSubClass in examples