comment out unused check method, wrap get_cache()