extend setVariables methods