@shacker If the item isn't in the array yet, it will be -1. In that case we should add it to the array, otherwise we should do nothing.