Make put, insert, set all reuse same code