Do you need `window` as param?