added callback to .link() method
added callback to .link() method