- added windows compatibility