Adding instance variable hashmap cache