cache instance variables