added cache image
added cycle image
typo and moved for in forward