i feel like try implies there's a try/catch of some sorts. Maybe just getCachedDimensions?