using stdClass for cache_field