ok yes it is add_post_meta got that working.
add_meta_box(
'my_meta_box_id', // this is HTML id of the box on edit screen
'title', // title of the box
'show_deactivate_checkbox', // function to be called to display the checkboxes, see the function below
'post', // on which edit screen the box should appear
'normal', // part of page where the box should appear
'default' // priority of the box
);
show_deactivate_checkbox(){
echo "<input type='checkbox' name='mycheckbox' />";
}