added separate file for win32 stuff