Removed duplicate variable assign