experimenting with passing data to drawChart