Add sparkline code back