Renamed maxComponent to max_component