updated to use the class name "BaseDataStructure" so that generated code mimicks the class structure of the Java code to avoid getting confused