add logs to know when the select is called and change use a different variable for the 2nd select result