testing component_type instead of ctype
component_type instead of ctype.