add atom.patching(window)