Disable no-unused variable for valueName since its now inside a function
its not visible.