make link specification more generic