Validate link

changed function name