added chart stuff