Changed graphs to images