changed get to delete method