added russian doll caching