What was the purpose of this piece of code? Does this now break other cases?