implement Closure and Goto