Finally got the kprime problem nailed. Whew.