updated to reflect new corresp func