deleting functionality added