make ControlPanel work