added delete-functionality.