added charts
updated functionality