Add link function
Fix shitty shit shit