changed ambiguous var name