Added a snippet to get a cached variable