add closure example.