started converting control panel to DOM