delete given when