I don't understand what this is doing.