still trying to get the spark chart to work