modificatinos to copy_form fn