adds delete method