add the *variables callback