snippet added to get link region value