trying to implement Chart.js