added new method
fixed chart