implement deleting data with contracts and goods