layout.names should aready be a list, right? so no reason to for this line.