prep for caching