Duping the `determine_cc` logic here is displeasing, shouldn't it just be implemented in terms of `determine_cc`?