put the vector into a map so we can also store the position of the item
Fixed bug around how you add item to map