redefines for windows