added chart capability