modify closure