added link validation, closed #6