re-do the layout