win32 compatibility stuff
more win32 compatibility stuff