working on windows compatibilty.