add add_link method