add "Closure is reference type" code