caching result in likely_env