optimized closure creation; testing unsafe ops