add cache capabalities.