adding cache of images