Implement delete function(case 2 - c)