simplified windows check