now works on windows