add del proto and a lua wrapper example