added functionality to add new links