window.add and window.remove