added the setting of a variable from another variable