This is my first question in Stack Overflow (be kind….hahah).
After some comments I decided to simplify the question.
I have a funct