forgot to update second part of cacheGraphic() method