take out extensions
change the test for window