WIP: implementing closures
WIP: code generation ...