closures from scope