setup call to determine if valid link