#2 Use hash mapping to get data dynamically