Added def for windows