Modified rate code to match definition.