adaptation for windows