added baseClassPointer