need to fix link function