added delete function
added delete function