add function check links