`transformB` is identical to `transformC`, except for one line, so combine them?