hash map is better suited to insert and remove values that need cloning/freeing