added link functions