updated variable call to include getVariable