add control panel at the top of the program