adjusted types for Windows