I probably wouldn't have extracted this function for the sake of easier code scan-ability, but I don't feel too strongly about it.