add preliminary link logic