making link more general