Moved a lot of careEnsemble code to helper funs