modify the panel