idioms for function closures 9231885