added local delete method