init for Windows