Ivi

reconstruct code about panel and database