just wanna say thanks to came back with your own solution, helped me a lot now! StackOverflow still has its value haha! GPT, for example, gave me a such more laborious solution.