changes prior to delete button