added more code for charts