So a function is called when the variable value is changed?
add-hook seems to only accept functions.
add-hook