I don't know. I just copied the function from somewhere of the old main.py