cache a few values