added delete function for consequences