nope, the first time I wrote this I did it without window and it didn't work so I had to add the window reference :/