I don't understand this code.