Hmm, this is original code from control.py. I think this method is not longer needed as I modified the others.