init impl of dict insertion