added cache to IMG
added cache to IMG