could connect and draw a window