update to unboxed closure