generalization from two to k seems ok
finish updating bcrham test files