implement chart and comment boxes