new method for finding cfr. seems to work. still needs tests