Where is this done in the old code?