added variables needed for modified polynomial correction