added caching to get_meta