hashmap and title VS ref