So this is a DUPLICATE THREAD. No need for that.
I’m not looking at your code, don’t have time now, but the results look good to me? No twist.