added logging of windows