Added delete() method