refactori - panel