documented not working closure example