finished change to kv_init parameter.