add fields to comments programmatically I know how add fields to entity, now what is XXX in below code when I want add this field to comment of articles?

$instance = array(
    'field_name' =&gt; 'field_image',
    'entity_type' =&gt; 'xxx',
    'bundle' =&gt; 'xxx',
    'label' =&gt; t('Images'),
    ....


if any other setting is required, then what is that?
I found my answer, see:

dsm(entity_get_info());
dsm(field_info_bundles());


so my code should be:

$instance = array(
    'field_name' =&gt; 'field_image',
    'entity_type' =&gt; 'comment',
    'bundle' =&gt; 'comment_node_article',
    'label' =&gt; t('Images'),
    ....