added some panel controls in template;