added getWnd to the interface