update code to use the sepkv() routine.