use panel for layout