modifications for Windows