added link control stuff