move a replicated block of code in the one place where it belongs.