added delete method
Added delete method