improving windows compatibility: WIP