use cache variable