started win control functions