Dynamic array and Ordered hash map