updating to work on windows