layout wrangling