added WindowType