caching added for thumbnail
gm used