note about toArray(window) => [window]