add Closure sample