Could we move the variable into the updatesCustomProperty function?