renaming variables and updating APIs to correct link example