removed duplicate variable name