added link function to VW