better Windows detection