implemented attribution value to variables.