removed duplicate variable