Add a closure sample