added link/unlink support
added link/unlink support