adding the chart library and more changes