hash map + lookup method