slightly naive "layout/preset" implementation