Removed duplicate variable names