added delete method

via Frederik