Is this kd variable being used anywhere, or can it be removed?