* configure your meta box
  */
 $config2 = array('id' => 'demo_meta_box2', 'title' => 'Advanced Meta Box fields', 'pages' => array('post', 'page'), 'context' => 'normal', 'priority' => 'high', 'fields' => array(), 'local_images' => false, 'use_with_theme' => true);
 /*
  * Initiate your 2nd meta box
  */
 $my_meta2 = new AT_Meta_Box($config2);
 /*
  * Add fields to your 2nd meta box
  */
 //add checkboxes list
 $my_meta2->addCheckboxList($prefix . 'CheckboxList_field_id', array('checkboxkey1' => 'checkbox Value1', 'checkboxkey2' => 'checkbox Value2'), array('name' => 'My checkbox list ', 'std' => array('checkboxkey2')));
 //date field
 $my_meta2->addDate($prefix . 'date_field_id', array('name' => 'My Date '));
 //Time field
 $my_meta2->addTime($prefix . 'time_field_id', array('name' => 'My Time '));
 //Color field
 $my_meta2->addColor($prefix . 'color_field_id', array('name' => 'My Color '));
 //wysiwyg field
 $my_meta2->addWysiwyg($prefix . 'wysiwyg_field_id', array('name' => 'My wysiwyg Editor '));
 //taxonomy field
 $my_meta2->addTaxonomy($prefix . 'taxonomy_field_id', array('taxonomy' => 'category'), array('name' => 'My Taxonomy '));
 //posts field
 $my_meta2->addPosts($prefix . 'posts_field_id', array('post_type' => 'post'), array('name' => 'My Posts '));
 //add Code editor field
 $my_meta2->addCode($prefix . 'code_field_id', array('name' => 'Code editor Field', 'syntax' => 'php', 'theme' => 'light'));
 /*
  * To Create a reapeater Block first create an array of fields
  * use the same functions as above but add true as a last param
  */
 $repeater_fields[] = $my_meta2->addText($prefix . 're_text_field_id', array('name' => 'My Text '), true);