added chart loader