use panel for displaying