created panel and menu