modify closures