* code for virtual panel.