Insertion works except for the "on duplicate" cases
(Todo..)