how to add a required positional argument to a python file using this code? : this code works great however I am having trouble with the variable called "time". therefor it is throwing an error saying -   File "C:\Users\7\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
TypeError: customDraw() missing 1 required positional argument: 'time'

I have tried everyway I could think of to best define time in terms of the code I have for example below

    import win32api, win32con, win32gui, win32ui, timer, threading
    
    windowText = 'Ecclesiastes'
    hWindow = 0
    
    def main():
        hInstance = win32api.GetModuleHandle()
        className = 'MyWindowClassName'
    
        wndClass                = win32gui.WNDCLASS()
        wndClass.style          = win32con.CS_HREDRAW | win32con.CS_VREDRAW
        wndClass.lpfnWndProc    = wndProc
        wndClass.hInstance      = hInstance
        wndClass.hIcon          = win32gui.LoadIcon(0, win32con.IDI_APPLICATION)
        wndClass.hCursor        = win32gui.LoadCursor(None, win32con.IDC_ARROW)
        wndClass.hbrBackground  = win32gui.GetStockObject(win32con.WHITE_BRUSH)
        wndClass.lpszClassName  = className
        wndClassAtom = win32gui.RegisterClass(wndClass)
    
        exStyle = win32con.WS_EX_COMPOSITED | win32con.WS_EX_LAYERED | win32con.WS_EX_NOACTIVATE | win32con.WS_EX_TOPMOST | win32con.WS_EX_TRANSPARENT
    
        style = win32con.WS_DISABLED | win32con.WS_POPUP | win32con.WS_VISIBLE
    
        hWindow = win32gui.CreateWindowEx(
            exStyle,
            wndClassAtom,
            None,
            style,
            0, # x
            0, # y
            win32api.GetSystemMetrics(win32con.SM_CXSCREEN), # width
            win32api.GetSystemMetrics(win32con.SM_CYSCREEN), # height
            None, # hWndParent
            None, # hMenu
            hInstance,
            None # lpParam
    )
        win32gui.SetLayeredWindowAttributes(hWindow, 0x00ffffff, 255, win32con.LWA_COLORKEY | win32con.LWA_ALPHA) ####### COLOR
    
        win32gui.SetWindowPos(hWindow, win32con.HWND_TOPMOST, 0, 0, 0, 0,
            win32con.SWP_NOACTIVATE | win32con.SWP_NOMOVE | win32con.SWP_NOSIZE | win32con.SWP_SHOWWINDOW)
        thr = threading.Thread(target=customDraw, args=(hWindow,))
        thr.setDaemon(False)
        thr.start()
    
        win32gui.ShowWindow(hWindow, win32con.SW_SHOWNORMAL)
        win32gui.UpdateWindow(hWindow)
        timer.set_timer(10000, customDraw)
        win32gui.PumpMessages()
    
    counter = 0
    def customDraw(timer_id, time):
        global hWindow
        global counter
        global windowText
        if counter > 1589:
            counter = 0
        text = ["1:1 The words of the Preacher, the son of David, king in Jerusalem.",
    "12:14 For God shall bring every work into judgment, with every secret thing, whether it be good, or whether it be evil. ",]
        windowText = text[counter]
        counter = counter + 1
        win32gui.InvalidateRect(hWindow, None, True)
     
    def wndProc(hWnd, message, wParam, lParam):
        if message == win32con.WM_PAINT:
            hdc, paintStruct = win32gui.BeginPaint(hWnd)
            dpiScale = win32ui.GetDeviceCaps(hdc, win32con.LOGPIXELSX) / 60.0
            fontSize = 18
            lf = win32gui.LOGFONT()
            lf.lfFaceName = "Comic Sans"
            lf.lfHeight = int(round(dpiScale * fontSize))
            hf = win32gui.CreateFontIndirect(lf)
            win32gui.SelectObject(hdc, hf)
            rect = win32gui.GetClientRect(hWnd)
            win32gui.DrawText(hdc, windowText, -1, rect,
              win32con.DT_LEFT | win32con.DT_BOTTOM | win32con.DT_SINGLELINE
            )
            win32gui.EndPaint(hWnd, paintStruct)
            return 0
    
        elif message == win32con.WM_DESTROY:
            print('Being destroyed')
            win32gui.PostQuitMessage(0)
            return 0
    
        else:
            return win32gui.DefWindowProc(hWnd, message, wParam, lParam)
            calrect = win32gui.DrawText(hdc, text, -1, rect, textformat | win32con.DT_CALCRECT);
    
            rect.top = rect.bottom - calcrect.bottom;
            win32gui.DrawText(hDC, text, -1, rect, textformat)
    
    if __name__ == '__main__':
        main()


I expected all of this code I have put together would run the file without any errors but I keep getting the following message > Exception in thread Thread-1:
Traceback (most recent call last):
  File "C:\Users\7\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Users\7\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
TypeError: customDraw() missing 1 required positional argument: 'time'

I cannot for the life of me get rid of the error. and the worst part is the error window/terminal must stay open for the code to continue running. I am trying to finish this script without errors so that theres no bugs down the line relating to this bugaboo. but sheesh its killing me.