Commented out THD references in file, but still having trouble