removed dup call to drawChart