Nit: this *let* declaration redeclares the *aWindow* argument. The statement should reassign *aWindow* without redeclaring it or give the variable a different name.