stackcache functioning, but not inferred