some extensions with closures